class Bigimage < ActiveRecord::Base
  set_table_name "BigImage"
  set_primary_key "id"
  
  belongs_to :page
  
  has_attachment :content_type => :image, 
                 :storage => :file_system, 
                 #:max_size => 500.kilobytes,
                 :resize_to => '620x490>'
                 
  validates_as_attachment

end